/* Copyright (c) 2010, David Kreuter. See LICENSE for more information */

#ifndef IN_HEADERS_H
#error This file should be included through "headers.h"
#endif

#include <GL/gl.h>
#define MAX_MATS 1000

extern mdl_mat *loaded_mat         [MAX_MATS];
extern uint8    loaded_mat_last_use[MAX_MATS];

void draw_reset();
void draw_cleanup();
void draw_map(map *, tex *, bmd **, char);
void draw_map_ent(map_ent *, bmd **);
void draw_bmd(bmd *);
